const Mock = require('better-mock/dist/mock.mp.js')

Mock.mock('/api/app_v1/Account/Login', 'POST', (options) => {
	return {
		Result: true,
		Data: {
			Token: 'sim-token',
		},
		Message: '操作成功',
	}
})
Mock.mock('/api/home/login/mobile', 'POST', (options) => {
	return {
		Result: true,
		Data: {
			Token: 'sim-token',
		},
		Message: '操作成功',
	}
})
Mock.mock('/api/home/login/sendMsg', 'POST', (options) => {
	return {
		Result: true,
		Data: null,
		Message: '操作成功',
	}
})
Mock.mock('/api/app_v1/Account/UserInfo', 'GET', (options) => {
	return {
		Result: true,
		Data: {
			LoginName: 'simuser',
			UserName: '管理员',
		},
		Message: '操作成功',
	}
})
